﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Lusika:Hero
    {
        public Lusika(string username)
        {
            this.Username = username;
            this.Heroname = "卢斯卡";
            this.GongJi = 7;
            this.FangYu = 5;
            this.SuDu = 6;
            this.JiNeng1 = "减速陷阱：部署一个陷阱，触发它的敌人将持续受到土系伤害并被减退。";
            this.JiNeng2 = "稳定冲击：缓慢向前移动的能量波攻击多个敌人，并将其击退。";
            this.JiNeng3 = "能量冲撞：短距离攻击，击退敌人并恢复能量。";
        }
        public void Chuangjian()
        {
            Console.WriteLine("用户名：{0}，英雄名字{1}，攻击{2}，防御{3}，速度{4}，拥有技能:"
                , this.Username, this.Heroname, this.GongJi, this.FangYu, this.SuDu);
            Console.WriteLine(this.JiNeng1);
            Console.WriteLine(this.JiNeng2);
            Console.WriteLine(this.JiNeng3);
        }

    }
}
